<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ include file="/views/common/required.jspf"%>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="description" content="" />
		<meta name="keywords" content="" />
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<!-- 禁用电话号码检测功能，禁止对数字随便可以拨号 -->
		<meta name="format-detection" content="telephone=no">
		<!-- 禁用地址检测功能，禁止跳转到地图 -->
		<meta name="format-detection" content="address=no">
		<!-- 在苹果设备上以全屏方式打开本网页 -->
		<meta name="apple-mobile-web-app-capable" content="yes">
		<!-- 设置在苹果设备上状态的颜色，默认白色，要设置成什么颜色以Web颜色的风格而定 -->
		<meta name="apple-mobile-web-app-status-bar-style" content="white">
		<title>微信商城-用户中心</title>
		<%@ include file="/views/common/required.jspf"%>
		<link rel="stylesheet" href="${ctx}/statics/common/styles/userinfo.css" />
		<!-- 苹果设备在桌面上生成的快捷图标 -->
		<link rel="apple-touch-icon" href="${ctx}/statics/common/img/apple-touch-icon.png">
		<link rel="icon" href="${ctx}/statics/common/img/favicon.ico">
	</head>
	
	<body>
		<header class="header-wrapper">
			<ul class="header-list">
				<li>
					<a href="${ctx }/product/listProduct.html">
						<i class="fa fa-2x fa-home"></i>
						<p>首页</p>
					</a>
				</li>
				<li>
					<a href="${ctx}/product/listStoreCart.html">
						<i class="fa fa-2x fa-shopping-cart"></i>
						<p>购物车</p>
					</a>
				</li>
				<li class="list-active">
					<a href="${ctx}/user/userInfo.html">
						<i class="fa fa-2x fa-user"></i>
						<p>用户中心</p>
					</a>
				</li>
			</ul>
		</header>
		<section style="width: 100%; height: .6rem;"></section>
		
		<section class="user-main">
			<div class="main-personMessage">
				<div class="personMessage-img">
					<img src="${ctx}/statics/common/img/morenhead.jpg"/>
				</div>
				<div class="personMessage-right">
					<p class="nick-name">${user.name}</p>
					<p><span>姓名：</span>${receiveAddress.receiver}</p>
				    <p><span>手机：</span>${receiveAddress.phone}</p>
				    <p><span>单位名称：</span>上海某某公司</p>
				    <p><span>单位地址：</span>上海市虹口区临潼路</p>
				</div>
			</div>
			
			<div class="main-list">
				<ul class="list-item">
					<a href="${ctx}/user/listAddress.html">
						<li>
							<span>收货地址</span>
							<img src="${ctx}/statics/common/img/goforword.png"/>
						</li>
					</a>
					<a href="">
						<li>
							<span>我的订单</span>
							<img src="${ctx}/statics/common/img/goforword.png"/>
						</li>
					</a>
					<a href="${ctx}/user/logout.html">
						<li>
							<span>切换账号</span>
							<img src="${ctx}/statics/common/img/goforword.png"/>
						</li>
					</a>
					<a href="${ctx}/user/logout.html">
						<li>
							<span>退出登录</span>
							<img src="${ctx}/statics/common/img/goforword.png"/>
						</li>
					</a>
				</ul>
			</div>
		</section>
		
	</body>
</html>
